<?php

//Define psql database parameters
$db_host='localhost';
$db_nombre='libreria';
$db_user='postgres';
$db_pass='postgres';
$db_port= '5432';

//Define your canonical domain including trailing slash!, example:
$domain= "";

//Define sending email notification to webmaster

$email='natanaelborja79@gmail.com';
$subject='New user registration notification';
$from='From: libreria';

//Define Recaptcha parameters
$privatekey ="6LcnFMoSAAAAAM4AeVllei-hILgthpu6dmuuPnyq";
$publickey = "6LcnFMoSAAAAAKK-0-_8XXESZtJaSB8kbk4xqwvy";

//Define length of salt,minimum=10, maximum=35
$length_salt=15;

//Define the maximum number of failed attempts to ban brute force attackers
//minimum is 5
$maxfailedattempt=50;

//Define session timeout in seconds
//minimum 60 (for one minute)
$sessiontimeout=180;

////////////////////////////////////
//END OF USER CONFIGURATION/////////
////////////////////////////////////

//DO NOT EDIT ANYTHING BELOW!

$dbhandle = pg_connect("host=$db_host
					   port=$db_port
					   dbname=$db_nombre
					   user=$db_user
					   password=$db_pass")
 or die("Unable to connect to MySQL");
//$selected = mysql_select_db($database,$dbhandle)
//or die("Could not select $database");
$loginpage_url= $domain.'';
$forbidden_url= $domain.'403forbidden.php';
?>